<html>
<head><meta charset="utf-8"><title>warming up from the command line · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/warming.20up.20from.20the.20command.20line.html">warming up from the command line</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="241571110"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/warming%20up%20from%20the%20command%20line/near/241571110" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/warming.20up.20from.20the.20command.20line.html#241571110">(Jun 04 2021 at 17:51)</a>:</h4>
<p>When I come back to a project that I haven't touched in a while, I like to do something equivalent to <code>cargo clean &amp;&amp; cargo build --all --all-targets</code> as a way to get everything primed. </p>
<p>Is there a command I could do to get r-a ready to go as well, before I even open my editor?</p>



<a name="241572339"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/warming%20up%20from%20the%20command%20line/near/241572339" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/warming.20up.20from.20the.20command.20line.html#241572339">(Jun 04 2021 at 18:00)</a>:</h4>
<p>You can theoretically start r-a before the editor and connect to it later</p>



<a name="241572384"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/warming%20up%20from%20the%20command%20line/near/241572384" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/warming.20up.20from.20the.20command.20line.html#241572384">(Jun 04 2021 at 18:01)</a>:</h4>
<p>Also, r-a will run cargo check, so you can prime that manually</p>



<a name="241581285"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/warming%20up%20from%20the%20command%20line/near/241581285" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/warming.20up.20from.20the.20command.20line.html#241581285">(Jun 04 2021 at 19:19)</a>:</h4>
<p><em>someday</em> we'll get the sharing between check and build, sigh</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>